<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>amap</title>
  <!-- 1. 引入组件库  -->
  <script type="text/javascript" src="https://webapi.amap.com/maps?v=1.4.15&key=3e28d9cd8fa85a4a217940ba51d454e9"></script> 
</head>
<body>
  <!-- 2. 创建一个容器用于容纳图表 -->
  <div id="container" style="height: 400px;"></div>
  <!-- 3. 创建地图的实例对象，渲染 -->
  <script>
    var map = new AMap.Map('container', {
        zoom:11,//级别
        center: [116.397428, 39.90923],//中心点坐标
        viewMode:'3D'//使用3D视图
    });
  </script>
</body>
</html>